import java.util.Scanner;

public class Home {
    public static int max2 (int a ,int b){
        if(a > b){
            return a;
        }else{
            return b;
        }
    }
    public static int max3(int m,int c){
        if(m > c){
            return m;

        }else{
            return c;
        }
    }
    public static void main(String[] args) {
        Scanner scan1 = new Scanner(System.in);
        Scanner scan2 = new Scanner(System.in);
        Scanner scan3 = new Scanner(System.in);
        int a = scan1.nextInt();
        int b = scan2.nextInt();
        int c = scan3.nextInt();
        int m = max2(a,b);
        int n = max3(m,c);
        System.out.println(n);
    }
}
